<!DOCTYPE html>
<html>

<head>
  <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Hello, World</title>
  <style type="text/css">
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    #container {
      height: 100vh;
    }
  </style>
  <script type="text/javascript"
    src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=ijCGWdrska19tHRFRtN6fy49kNV10eUC">
    </script>
</head>

<body>
  <div id="container"></div>
  <script type="text/javascript">
    // 1 创建地图实例 
    var map = new BMapGL.Map("container");
    // 创建点坐标 
    var point = new BMapGL.Point(116.404, 39.915);
    // 初始化地图，设置中心点坐标和地图级别
    map.centerAndZoom(point, 15);
  </script>
</body>

</html>